// pages/login/login.js
Page({
  data: {
    options: {}
  },
  onLoad(options) {
    console.log(options)
    this.setData({options})
  },
  wechatLogin() {
    console.log('wechatLogin')
  },
  doubanLogin() {
    console.log('doubanLogin')
  },
  agreeAgreement() {
    console.log('agreeAgreement')
    wx.navigateTo({
      url: '/pages/agreement/agreement',
    })
  },
  backTap(evt) {
    console.log(evt.type + evt.detail)
  },
  homeTap(evt) {
    console.log(`${evt.type},${evt.detail}`)
  }
})